package com.qf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller  // 这个注解可以返回 页面
@RequestMapping("/hello")
public class HelloController {

    @RequestMapping("/test1")
    public String test1(){
        System.out.println("test1.....");
        return "/abc/abc.html";
    }

    @RequestMapping("/test2")
    public String test2(){
        System.out.println("test1.....");
        return "/abc/abc.html";
    }


}
